package com.kingdee.eas.wzgzw.base;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class OrganizationalTreeCollection extends AbstractObjectCollection 
{
    public OrganizationalTreeCollection()
    {
        super(OrganizationalTreeInfo.class);
    }
    public boolean add(OrganizationalTreeInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(OrganizationalTreeCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(OrganizationalTreeInfo item)
    {
        return removeObject(item);
    }
    public OrganizationalTreeInfo get(int index)
    {
        return(OrganizationalTreeInfo)getObject(index);
    }
    public OrganizationalTreeInfo get(Object key)
    {
        return(OrganizationalTreeInfo)getObject(key);
    }
    public void set(int index, OrganizationalTreeInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(OrganizationalTreeInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(OrganizationalTreeInfo item)
    {
        return super.indexOf(item);
    }
}